{if condition="$cases.banner neq null"}
<!-- 广告图 -->
<div class="container-fluid bd">
    <div class="row">
        <div class="logo col-xs-12 col-sm-12 col-md-12">
            <a href="{$cases.banner.link_url}">
                <img src="{$cases.banner.img_url}" alt="" class="img-responsive">
            </a>
        </div>
    </div>
</div>
{/if}

    <!-- 第二导航栏 -->
    <div class="ernav ernav_cate">
        <ul class="navul">
            {foreach $cases.sub as $sub}
            <li style="padding:0 64px;"><a href="{$sub.nurl}">{$sub.nname}</a></li>
            {/foreach}
        </ul>
        <div class="clear"></div>
    </div>


    <!-- 列表标题 -->
    <div class="title">
        <div class="content">
            <div class="place">
                <p>所在位置：&nbsp; 首页 - 案例</p>
            </div>
        </div>
    </div>

    <!-- 核心内容 -->
    <div class="main">
        <div class="content">

            <!-- 饰标题 -->
            <div class="show wow pulse " data-wow-iteration="5" data-wow-duration="0.25s">
                <h1>案例展示</h1>
            </div>

            <!-- 卡片内容 -->
            <div class="row">
                {foreach $cases.cases as $case}
                <div class="box col-sm-6 col-md-6 col-lg-6">
                    <a href="{:url('index/cases/caseDetail')}/cid/{$case.cid}">
                        <img src="{$case.img_url}" style="width: 460px;height:255px;" alt="" class="img-responsive"></a>
                    <div class="desc">
                        <h6>{$case.title}</h6>
                        <p style="height: 50px;overflow: hidden;">{$case.content}...</p>
                    </div>
                </div>
                {/foreach}
            </div>

            <!-- 分页 -->
            <nav aria-label="Page navigation" class="fenye">
                <!-- <ul class="pagination pagination-sm pages">
                    <li class="disabled">
                        <a href="#" aria-label="Previous" style=" width: 75px;">
                            <span aria-hidden="true">上一页</span>
                        </a>
                    </li>
                    <li><a href="#" style="color:#ffffff; background-color:#ff0000;border:1px solid #ffffff">1</a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#" style="border:none;color: #545353">...</a></li>
                    <li><a href="#">10</a></li>
                    <li>
                        <a href="#" aria-label="Next" style=" width: 75px;
                        color:#5a5a5a">
                            <span aria-hidden="true">下一页</span>
                        </a>
                    </li>
                </ul> -->
                {$cases.page}
            </nav>



        </div>
    </div>

    